package com.guoliang.wechatpushing.constant;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ：Leo
 * @date ：Created in 2022/10/18 10:14
 * @description：
 */
@Component
@Data
@ConfigurationProperties(prefix = "wechat")
public class Constant {
    @Value("${wechat.appID}")
    public String appID;
    @Value("${wechat.appsecret}")
    public String appsecret;
    public ArrayList<String> receiver;
    @Value("${wechat.templateId}")
    public String template_id;
    @Value("${weather.city}")
   public String city;
    @Value("${weather.appid}")
    public String wId;
    @Value("${weather.appsecret}")
    public String wAppsecret;
    @Value("${days.together}")
    public String togetherDay;
    @Value("${days.girl-birth}")
    public String girlBirthDay;
    @Value("${days.boy-birth}")
    public String boyBirthDay;
    @Value("${Aphorism.token}")
    public String token;
    public int count; //记录总共发了几次了
}
